<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Amaze UI Admin index Examples</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="__IMG__/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="__IMG__/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="{$Think.const.COMMON_URL}/Css/amazeui.min.css"/>
    <link rel="stylesheet" href="__CSS__/admin.css">
</head>
<body>
<!-- content start -->
<style type="text/css">
    .am-pagination {
        display:inline-block;
    }
    .am-padding-left {
        text-align: center;
    }
</style>
<div class="admin-content">
    <div class="admin-content-body">
        <div class="am-cf am-padding am-padding-bottom-0">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">微信菜单管理</strong></div>
        </div>

        <hr>
        <form class="form-horizontal well" action="{:U('Wxmenu/add')}" method="post">
            <fieldset>
                <legend>
                    菜单添加表单</legend>


                <div class="am-g am-margin-top-sm">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        所属上级菜单
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end">
                        <select name="pid" class="am-radius">
                            <option value="0">无</option>
                            <volist name="mainmenus" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                </div>

                <div class="am-g am-margin-top-sm">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        菜单名称
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end">
                        <input type="text" class="am-form-field am-radius" name="name"  placeholder="请输入菜单名称">
                    </div>
                </div>


                <div class="am-g am-margin-top-sm">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        key
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end">
                        <input type="text" class="am-form-field am-radius" name="key"  placeholder="请输入关联关键词">
                    </div>
                </div>

                <div class="am-g am-margin-top-sm">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        外链URL
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end">
                        <input type="text" class="am-form-field am-radius" name="url"  placeholder="请输入外链URL">
                    </div>
                </div>
                <div class="am-g am-margin-top-sm">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right">
                        排序
                    </div>
                    <div class="am-u-sm-8 am-u-md-4 am-u-end">
                        <input type="text" class="am-form-field am-radius" name="sort"  placeholder="排序">
                    </div>
                </div>


                <div class="am-margin">
                    <center>
                        <input type="submit" class="am-btn am-btn-primary am-btn-xs" value="提交保存">
                        <a href="{:U('Wxmenu/index')}" class="am-btn am-btn-primary am-btn-xs">放弃保存</a>
                    </center>
                </div>
            </fieldset>
        </form>

    </div>

    <footer class="admin-content-footer">
        <hr>
        <p class="am-padding-left">© 2016 版权归郑建强所有.</p>
    </footer>

</div>
<!-- content end -->
</body>
</html>